package com.luych.toolbox.base.service.controller;

import com.luych.toolbox.base.service.entity.Permission;
import com.luych.toolbox.base.service.service.PermissionService;
import com.luych.toolbox.common.feign.intf.base.service.PermissionFeign;
import com.luych.toolbox.common.feign.param.base.service.PermissionParam;
import com.luych.toolbox.common.feign.view.base.service.PermissionView;
import com.luych.toolbox.common.service.base.BaseController;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "权限")
@RestController
@RequestMapping("/permission")
public class PermissionController
        extends BaseController<PermissionView, PermissionParam, Permission>
        implements PermissionFeign {

    @Autowired
    public PermissionController(PermissionService permissionService) {
        super(permissionService);
    }

}
